﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utility.Enum;

namespace Model.DomainModel
{
    /// <summary>
    /// 流程模型
    /// </summary>
    public class Flow
    {
        /// <summary>
        /// 流程id
        /// </summary>
        public string FlowId { get; set; } = string.Empty;

        /// <summary>
        /// 表单主键
        /// </summary>
        public string FormId { get; set; } = string.Empty;

        /// <summary>
        /// 部门id
        /// </summary>
        public string DepartmentId { get; set; } = string.Empty;

        /// <summary>
        /// 流程内容
        /// </summary>
        public string FlowContent { get; set; } = string.Empty;

        /// <summary>
        /// 流程名称
        /// </summary>
        public string FlowName { get; set; } = string.Empty;

        /// <summary>
        /// 流程备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 流程类型
        /// </summary>
        public int TypeId { get; set; }

        /// <summary>
        /// 数据状态
        /// </summary>
        public DataStateEnum DataState { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateUserKey { get; set; } = string.Empty;
    }
}
